package com.simou.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class Orders {

  private Long id;
  private String number;
  private int status;
  private Long userId;
  private Long addressBookId;
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime orderTime;
  @TableField(fill = FieldFill.INSERT)
  private LocalDateTime checkoutTime;
  private int payMethod;
  private BigDecimal amount;
  private String remark;
  private String phone;
  private String address;
  private String userName;
  private String consignee;


  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }


  public String getNumber() {
    return number;
  }

  public void setNumber(String number) {
    this.number = number;
  }


  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }


  public Long getUserId() {
    return userId;
  }

  public void setUserId(Long userId) {
    this.userId = userId;
  }


  public Long getAddressBookId() {
    return addressBookId;
  }

  public void setAddressBookId(Long addressBookId) {
    this.addressBookId = addressBookId;
  }


  public LocalDateTime getOrderTime() {
    return orderTime;
  }

  public void setOrderTime(LocalDateTime orderTime) {
    this.orderTime = orderTime;
  }


  public LocalDateTime getCheckoutTime() {
    return checkoutTime;
  }

  public void setCheckoutTime(LocalDateTime checkoutTime) {
    this.checkoutTime = checkoutTime;
  }


  public int getPayMethod() {
    return payMethod;
  }

  public void setPayMethod(int payMethod) {
    this.payMethod = payMethod;
  }


  public BigDecimal getAmount() {
    return amount;
  }

  public void setAmount(BigDecimal amount) {
    this.amount = amount;
  }


  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }


  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }


  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }


  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }


  public String getConsignee() {
    return consignee;
  }

  public void setConsignee(String consignee) {
    this.consignee = consignee;
  }

}
